package equals;

/**
 * @Description: null
 * @Project: testDemo
 * @Author: hjibo
 * @CreateDate: 2019/2/20 09:03
 * @ModificationHistory: （who whatTime doWhat）
 */
public class Main {

public static void main(String[] args) {

    Student a = new Student("小明",12);
    Student b = new Student("小明",12);

    System.out.println(a.equals(b));
}

}
